<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex benben-position-layout flex flex-wrap align-center contactUs_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub contactUs_fd0_0'>
          <view class='flex flex-wrap align-center contactUs_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  contactUs_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='contactUs_fd0_0_c1_c0'>{{$t('联系我们')}}</text>
          </view>
          <view class='flex flex-wrap align-center justify-end contactUs_fd0_0_c0'>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center">
        <image class='contactUs_fd1_0' mode="aspectFit" :src='dataInfo.web_site_bgimg'></image>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout contactUs_flex_2">
        <view class='flex flex-wrap align-center contactUs_fd2_0'>
          <text class='contactUs_fd2_0_c0'>{{dataInfo.web_site_callmsg}}</text>
        </view>
        <view class='flex flex-wrap align-center justify-between contactUs_fd2_1'>
          <view class='flex flex-direction flex-wrap align-start flex-sub'>
            <view class='flex flex-wrap align-center'>
              <text class='contactUs_fd2_1_c0_c0_c0'>平台邮箱</text>
            </view>
            <view class='flex flex-wrap align-center contactUs_fd2_1_c0_c1'>
              <text class='contactUs_fd2_1_c0_c1_c0'>{{dataInfo.web_site_email}}</text>
              <text class='contactUs_fd2_1_c0_c1_c1' @click.stop="copyText(dataInfo.web_site_email)">{{$t('复制')}}</text>
            </view>
          </view>
          <image class='contactUs_fd2_1_c1' mode="aspectFit" :src='STATIC_URL+"3.png"'></image>
        </view>
        <view class='flex flex-wrap align-center justify-between contactUs_fd2_1'>
          <view class='flex flex-direction flex-wrap align-start flex-sub'>
            <view class='flex flex-wrap align-center'>
              <text class='contactUs_fd2_1_c0_c0_c0'>平台微信</text>
            </view>
            <view class='flex flex-wrap align-center contactUs_fd2_1_c0_c1'>
              <text class='contactUs_fd2_1_c0_c1_c0'>{{dataInfo.web_site_wx}}</text>
              <text class='contactUs_fd2_1_c0_c1_c1' @click.stop="copyText(dataInfo.web_site_wx)">{{$t('复制')}}</text>
            </view>
          </view>
          <image class='contactUs_fd2_1_c1' mode="aspectFit" :src='STATIC_URL+"4.png"'></image>
        </view>
      </view>

      <!---flex布局flex布局结束-->


    </view>
  </view>
</template>
<script>
  import {
    validate
  } from '@/common/utils/validate.js'

  export default {
    components: {},


    data() {
      return {
        "dataInfo": {
          "web_site_bgimg": "",
          "web_site_callmsg": "",
          "web_site_email": "",
          "web_site_wx": ""
        }
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {

    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {
      this.getDatainfoFunc()
    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //获取信息
      async getDatainfoFunc() {
        //请求方法
        //数据验证

        let datadataInfo = await this.$api.post(global.apiUrls.post657ac8f177e07, {

        });

        if (datadataInfo.data.code != 1) {
          this.$message.info(datadataInfo.data.msg);
          return
        }
        let infodataInfo = datadataInfo.data;
        this.dataInfo = infodataInfo.data

      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: rgba(248, 248, 248, 1);
    background-size: 100% auto;
  }

  .contactUs_flex_0 {
    background: rgba(255, 255, 255, 1);
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .contactUs_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333333;
    line-height: 50rpx;
  }

  .contactUs_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .contactUs_fd0_0_c0 {
    width: 120rpx;
  }

  .contactUs_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .contactUs_fd1_0 {
    width: 750rpx;
    height: 312rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .contactUs_flex_2 {
    padding: 0rpx 24rpx 0rpx 24rpx;
  }

  .contactUs_fd2_1_c1 {
    width: 80rpx;
    height: 80rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .contactUs_fd2_1_c0_c1_c1 {
    color: rgba(100, 80, 235, 1);
    font-size: 24rpx;
    font-weight: 400;
    line-height: 42rpx;
  }

  .contactUs_fd2_1_c0_c1_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 44rpx;
    margin: 0rpx 16rpx 0rpx 0rpx;
  }

  .contactUs_fd2_1_c0_c1 {
    margin: 16rpx 0rpx 0rpx 0rpx;
  }

  .contactUs_fd2_1_c0_c0_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 700;
    line-height: 44rpx;
    margin: 0rpx 16rpx 0rpx 0rpx;
  }

  .contactUs_fd2_1 {
    background: rgba(255, 255, 255, 1);
    border-radius: 40rpx;
    background-size: 100% auto;
    padding: 32rpx 40rpx 32rpx 32rpx;
    margin: 0rpx 0rpx 24rpx 0rpx;
  }

  .contactUs_fd2_0_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 44rpx;
  }

  .contactUs_fd2_0 {
    background: rgba(255, 255, 255, 1);
    border-radius: 16rpx;
    background-size: 100% auto;
    padding: 32rpx 24rpx 32rpx 24rpx;
    margin: -63rpx 0rpx 24rpx 0rpx;
    position: relative;
    z-index: 2;
  }
</style>